Ext.define('DCApp.model.Doc', {
    extend: 'DCApp.model.DataEntity',
    fields: [
        {name: 'name'},
        {name: 'type',text:'类型'},
        {name: 'author'},
        {name: 'linkMan'},
        {name: 'title'},
        {name: 'objNumber', type: 'int'},
        {name: 'note'},
        {name: 'keywords'},
        {name: 'description'},
        {name: 'subtype'},
        {name: 'objNo'},
        {name: 'type3'},
        {name: 'ord'},
        {name: 'generateDate', type: 'date',  dateFormat: 'Y-m-d H:i:s'},
        {name: 'generateEra'},
        {name: 'objAuthor'},
        {name: 'buildingarea'},
        {name: 'dateDisplay'},
        {name: 'tag'},
        {name: 'forward'},
        {name: 'platecatalog'},
        {name: 'protagonist'},
        {name: 'notes'},
        {name: 'notes2'},
        {name: 'notes3', type: 'int'},
        {name: 'fulltextid', type: 'int'}
    ],
    rmap:{
    	'linkMan':['欧阳锋','陈刚','杨燕丽','李南书','刘盈','刘茵','林舒'],
    	'editor3':['欧阳锋','陈刚','杨燕丽','李南书','刘盈','刘茵','林舒'],
    	'type':['故宫讲坛','学术沙龙','快讯','宫廷人物','工程报道','贵宾接待']
	}, 
	manyToMany:['Image','CeAttachment','Doc','Relic']
});
